/**
 * 
 */
package com.sis.main.client;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.NotPersistent;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author eric
 * Basic attributes of any security trade.
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class DataSecurity implements IsSerializable {
	
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long ID;
	
	  //flextable user interface variables
	  @Persistent
 	  private Integer WatchListID = null;
	  @Persistent
	  private int intRow;
	  
	  //ameritrade variables
	  @Persistent
	  private String Symbol;
	  @Persistent
	  private float Bid;
	  @Persistent
	  private float Ask;
	  @Persistent
	  private float Last;
	  @Persistent
	  private int BidSize;
	  @Persistent
	  private int AskSize;
	  @Persistent
	  private char BidID;
	  @Persistent
	  private char AskID;
	  @Persistent
	  private long Volume;
	  @Persistent
	  private int LastSize;
	  @Persistent
	  private int Tradetime;
	  @Persistent
	  private int QuoteTime;
	  @Persistent
	  private float High;
	  @Persistent
	  private float Low;
	  @Persistent
	  private char Tick;
	  @Persistent
	  private float Close;
	  @Persistent
	  private char Exchange;
	  @Persistent
	  private boolean Marginable;
	  @Persistent
	  private boolean Shortable;
	  @Persistent
	  private float IslandBid;
	  @Persistent
	  private float IslandAsk;
	  @Persistent
	  private long IslandVolume;
	  @Persistent
	  private int QuoteDate;
	  @Persistent
	  private int TradeDate;
	  @Persistent
	  private float Volatility;
	  @Persistent
	  private String Description;
	  @Persistent
	  private char TradeID;
	  @Persistent
	  private int Digits;
	  @Persistent
	  private float Open;
	  @Persistent
	  private float Change;
	  @Persistent
	  private double PercentChange;
	  @Persistent
	  private float WeekHigh52;
	  @Persistent
	  private float WeekLow52;
	  @Persistent
	  private float PERatio;
	  @Persistent
	  private float DividendAmount;
	  @Persistent
	  private float DividendYield;
	  @Persistent
	  private int IslandBidSize;
	  @Persistent
	  private int IslandAskSize;
	  @Persistent
	  private float Nav;
	  @Persistent
	  private float Fund;
	  @Persistent
	  private String ExchangeName;
	  @Persistent
	  private String DividendDate;

	  //yahoo variables
	  @Persistent
	  private String MarketCapitalizationString;
	  @Persistent
	  private double MarketCapitalization;
	  @Persistent
	  private String ForwardPriceEarningsString;
	  @Persistent
	  private float ForwardPriceToEarnings;
	  @Persistent
	  private String PriceToEarningsToGrowthString;
	  @Persistent
	  private float PriceToEarningsToGrowth;
	  @Persistent
	  private String ReturnOnEquityString;
	  @Persistent
	  private double ReturnOnEquity;
	  @Persistent
	  private String QuarterlyRevenueGrowthString;
	  @Persistent
	  private double QuarterlyRevenueGrowth;
	  @Persistent
	  private String QuarterlyEarningsGrowthString;
	  @Persistent
	  private double QuarterlyEarningsGrowth;
	  @Persistent
	  private String CurrentRatioString;
	  @Persistent
	  private float CurrentRatio;
	  @Persistent
	  private String Average10DayVolumeString;
	  @Persistent
	  private long Average10DayVolume;
	  @Persistent
	  private String Average3MonthVolumeString;
	  @Persistent
	  private long Average3MonthVolume;
	  
	  public DataSecurity() {
	  }

	  public DataSecurity(String Symbol) {
	    this.Symbol = Symbol;
	  }
	  
	  
	  public Integer getWatchListID() {
		  return this.WatchListID;
	  }

	  public String getSymbol() {
	    return this.Symbol;
	  }

	  public double getPercentChange() {
	    return this.PercentChange;
	  }

	  public void setSymbol(String Symbol) {
	    this.Symbol = Symbol;
	  }

	  public void setPercentChange(double PercentChange) {
	    this.PercentChange = PercentChange;
	  }
	  
	  public void setWatchListID (int intWatchListID) {
		  this.WatchListID = intWatchListID;
	  }

	public void setRow(int intRow) {
		this.intRow = intRow;
	}

	public int getRow() {
		return intRow;
	}

	public void setBid(float bid) {
		Bid = bid;
	}

	public float getBid() {
		return Bid;
	}

	public void setAsk(float ask) {
		Ask = ask;
	}

	public float getAsk() {
		return Ask;
	}

	public void setLast(float last) {
		Last = last;
	}

	public float getLast() {
		return Last;
	}

	public void setBidSize(int bidSize) {
		BidSize = bidSize;
	}

	public int getBidSize() {
		return BidSize;
	}

	public void setAskSize(int askSize) {
		AskSize = askSize;
	}

	public int getAskSize() {
		return AskSize;
	}

	public void setBidID(char bidID) {
		BidID = bidID;
	}

	public char getBidID() {
		return BidID;
	}

	public void setAskID(char askID) {
		AskID = askID;
	}

	public char getAskID() {
		return AskID;
	}

	public void setVolume(long volume) {
		Volume = volume;
	}

	public long getVolume() {
		return Volume;
	}

	public void setLastSize(int lastSize) {
		LastSize = lastSize;
	}

	public int getLastSize() {
		return LastSize;
	}

	public void setTradetime(int tradetime) {
		Tradetime = tradetime;
	}

	public int getTradetime() {
		return Tradetime;
	}

	public void setQuoteTime(int quoteTime) {
		QuoteTime = quoteTime;
	}

	public int getQuoteTime() {
		return QuoteTime;
	}

	public void setHigh(float high) {
		High = high;
	}

	public float getHigh() {
		return High;
	}

	public void setLow(float low) {
		Low = low;
	}

	public float getLow() {
		return Low;
	}

	public void setTick(char tick) {
		Tick = tick;
	}

	public char getTick() {
		return Tick;
	}

	public void setClose(float close) {
		Close = close;
	}

	public float getClose() {
		return Close;
	}

	public void setExchange(char exchange) {
		Exchange = exchange;
	}

	public char getExchange() {
		return Exchange;
	}

	public void setMarginable(boolean marginable) {
		Marginable = marginable;
	}

	public boolean isMarginable() {
		return Marginable;
	}

	public void setShortable(boolean shortable) {
		Shortable = shortable;
	}

	public boolean isShortable() {
		return Shortable;
	}

	public void setIslandBid(float islandBid) {
		IslandBid = islandBid;
	}

	public float getIslandBid() {
		return IslandBid;
	}

	public void setIslandAsk(float islandAsk) {
		IslandAsk = islandAsk;
	}

	public float getIslandAsk() {
		return IslandAsk;
	}

	public void setIslandVolume(long islandVolume) {
		IslandVolume = islandVolume;
	}

	public long getIslandVolume() {
		return IslandVolume;
	}

	public void setQuoteDate(int quoteDate) {
		QuoteDate = quoteDate;
	}

	public int getQuoteDate() {
		return QuoteDate;
	}

	public void setTradeDate(int tradeDate) {
		TradeDate = tradeDate;
	}

	public int getTradeDate() {
		return TradeDate;
	}

	public void setVolatility(float volatility) {
		Volatility = volatility;
	}

	public float getVolatility() {
		return Volatility;
	}

	public void setDescription(String description) {
		Description = description;
	}

	public String getDescription() {
		return Description;
	}

	public void setTradeID(char tradeID) {
		TradeID = tradeID;
	}

	public char getTradeID() {
		return TradeID;
	}

	public void setDigits(int digits) {
		Digits = digits;
	}

	public int getDigits() {
		return Digits;
	}

	public void setOpen(float open) {
		Open = open;
	}

	public float getOpen() {
		return Open;
	}

	public void setChange(float change) {
		Change = change;
	}

	public float getChange() {
		return Change;
	}

	public void set52WeekHigh(float weekHigh52) {
		WeekHigh52 = weekHigh52;
	}

	public float get52WeekHigh() {
		return WeekHigh52;
	}

	public void set52WeekLow(float weekLow52) {
		WeekLow52 = weekLow52;
	}

	public float get52WeekLow() {
		return WeekLow52;
	}

	public void setPERatio(float pERatio) {
		PERatio = pERatio;
	}

	public float getPERatio() {
		return PERatio;
	}

	public void setDividendAmount(float dividendAmount) {
		DividendAmount = dividendAmount;
	}

	public float getDividendAmount() {
		return DividendAmount;
	}

	public void setDividendYield(float dividendYield) {
		DividendYield = dividendYield;
	}

	public float getDividendYield() {
		return DividendYield;
	}

	public void setIslandBidSize(int islandBidSize) {
		IslandBidSize = islandBidSize;
	}

	public int getIslandBidSize() {
		return IslandBidSize;
	}

	public void setIslandAskSize(int islandAskSize) {
		IslandAskSize = islandAskSize;
	}

	public int getIslandAskSize() {
		return IslandAskSize;
	}

	public void setNav(float nav) {
		Nav = nav;
	}

	public float getNav() {
		return Nav;
	}

	public void setFund(float fund) {
		Fund = fund;
	}

	public float getFund() {
		return Fund;
	}

	public void setExchangeName(String exchangeName) {
		ExchangeName = exchangeName;
	}

	public String getExchangeName() {
		return ExchangeName;
	}

	public void setDividendDate(String dividendDate) {
		DividendDate = dividendDate;
	}

	public String getDividendDate() {
		return DividendDate;
	}

	public void setID(Long iD) {
		ID = iD;
	}

	public Long getID() {
		return ID;
	}

	public void setMarketCapitalization(double marketCapitalization) {
		MarketCapitalization = marketCapitalization;
	}

	public double getMarketCapitalization() {
		return MarketCapitalization;
	}

	public void setForwardPriceToEarnings(float forwardPriceToEarnings) {
		ForwardPriceToEarnings = forwardPriceToEarnings;
	}

	public float getForwardPriceToEarnings() {
		return ForwardPriceToEarnings;
	}

	public void setReturnOnEquity(double returnOnEquity) {
		ReturnOnEquity = returnOnEquity;
	}

	public double getReturnOnEquity() {
		return ReturnOnEquity;
	}

	public void setQuarterlyRevenueGrowth(double quarterlyRevenueGrowth) {
		QuarterlyRevenueGrowth = quarterlyRevenueGrowth;
	}

	public double getQuarterlyRevenueGrowth() {
		return QuarterlyRevenueGrowth;
	}

	public void setPriceToEarningsToGrowth(float priceToEarningsToGrowth) {
		PriceToEarningsToGrowth = priceToEarningsToGrowth;
	}

	public float getPriceToEarningsToGrowth() {
		return PriceToEarningsToGrowth;
	}

	public void setQuarterlyEarningsGrowth(double quarterlyEarningsGrowth) {
		QuarterlyEarningsGrowth = quarterlyEarningsGrowth;
	}

	public double getQuarterlyEarningsGrowth() {
		return QuarterlyEarningsGrowth;
	}

	public void setCurrentRatio(float currentRatio) {
		CurrentRatio = currentRatio;
	}

	public float getCurrentRatio() {
		return CurrentRatio;
	}

	public void setMarketCapitalizationString(String marketCapitalizationString) {
		MarketCapitalizationString = marketCapitalizationString;
	}

	public String getMarketCapitalizationString() {
		return MarketCapitalizationString;
	}

	public void setForwardPriceEarningsString(String forwardPriceEarningsString) {
		ForwardPriceEarningsString = forwardPriceEarningsString;
	}

	public String getForwardPriceEarningsString() {
		return ForwardPriceEarningsString;
	}

	public void setPriceToEarningsToGrowthString(
			String priceToEarningsToGrowthString) {
		PriceToEarningsToGrowthString = priceToEarningsToGrowthString;
	}

	public String getPriceToEarningsToGrowthString() {
		return PriceToEarningsToGrowthString;
	}

	public void setReturnOnEquityString(String returnOnEquityString) {
		ReturnOnEquityString = returnOnEquityString;
	}

	public String getReturnOnEquityString() {
		return ReturnOnEquityString;
	}

	public void setQuarterlyRevenueGrowthString(
			String quarterlyRevenueGrowthString) {
		QuarterlyRevenueGrowthString = quarterlyRevenueGrowthString;
	}

	public String getQuarterlyRevenueGrowthString() {
		return QuarterlyRevenueGrowthString;
	}

	public void setQuarterlyEarningsGrowthString(
			String quarterlyEarningsGrowthString) {
		QuarterlyEarningsGrowthString = quarterlyEarningsGrowthString;
	}

	public String getQuarterlyEarningsGrowthString() {
		return QuarterlyEarningsGrowthString;
	}

	public void setCurrentRatioString(String currentRatioString) {
		CurrentRatioString = currentRatioString;
	}

	public String getCurrentRatioString() {
		return CurrentRatioString;
	}

	public void setAverage10DayVolumeString(String average10DayVolumeString) {
		Average10DayVolumeString = average10DayVolumeString;
	}

	public String getAverage10DayVolumeString() {
		return Average10DayVolumeString;
	}

	public void setAverage3MonthVolumeString(String average3MonthVolumeString) {
		Average3MonthVolumeString = average3MonthVolumeString;
	}

	public String getAverage3MonthVolumeString() {
		return Average3MonthVolumeString;
	}

	public void setAverage10DayVolume(long average10DayVolume) {
		Average10DayVolume = average10DayVolume;
	}

	public long getAverage10DayVolume() {
		return Average10DayVolume;
	}

	public void setAverage3MonthVolume(long average3MonthVolume) {
		Average3MonthVolume = average3MonthVolume;
	}

	public long getAverage3MonthVolume() {
		return Average3MonthVolume;
	}


}
